package com.example.fms.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.example.fms.utils.UserVo;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName("categories_attributes")
public class CategoriesAttributes extends UserVo {
    //id
    @TableId(type = IdType.AUTO)
    @TableField("attr_id")
    private Long attrId;
    @TableField("attr_name")
    private String attrName;
    @TableField("cat_id")
    private Integer catId;
    @TableField("attr_sel")
    private String attrSel;
    @TableField("attr_write")
    private String attrWrite;
    @TableField("attr_vals")
    private String attrVals;

}
